package com.car.loan.project.xr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.car.loan.project.xr.domain.LoanModifyInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author huangding
 * @date 2020/2/20 22:20
 */
@Repository
public interface LoanModifyInfoMapper extends BaseMapper<LoanModifyInfo> {

    @Select("select * from xl_loan_modify_info where loan_id =#{loanId}")
    List<LoanModifyInfo> selectByLoanId(@Param("loanId") long loanId);
}
